import React from 'react'
import {Route,Switch} from 'react-router-dom'
import Home from '../../pages/home'
import Column from '../../pages/column'
import Follow from '../../pages/follow'
export default class Middle extends React.Component{
    render(){
        return (
            <div>
                <Switch>
                    <Route component={Home} path='/home'/>
                    <Route component={Column} path='/column'/>
                    <Route component={Follow} path='/follow'/>
                </Switch>
            </div>
        )
    }
}